package com.qf.common.feigns;

import com.qf.common.bean.R;
import com.qf.common.dto.CmdParamDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "qf-driver-mqtt")
public interface MqttApi {

    @PostMapping("/api/mqtt/send")
    R send(@RequestBody(required = false) CmdParamDto cmdParamDto);
}
